//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package ciicos.point.result;

import java.util.Arrays;

public class HisDataResult {
    private String name;
    private String desc;
    private Integer[] vals;

    public String getName() {
        return this.name;
    }

    public String getDesc() {
        return this.desc;
    }

    public Integer[] getVals() {
        return this.vals;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setVals(Integer[] vals) {
        this.vals = vals;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof HisDataResult)) {
            return false;
        } else {
            HisDataResult other = (HisDataResult)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$name = this.getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }

                Object this$desc = this.getDesc();
                Object other$desc = other.getDesc();
                if (this$desc == null) {
                    if (other$desc != null) {
                        return false;
                    }
                } else if (!this$desc.equals(other$desc)) {
                    return false;
                }

                if (!Arrays.deepEquals(this.getVals(), other.getVals())) {
                    return false;
                } else {
                    return true;
                }
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof HisDataResult;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $name = this.getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        Object $desc = this.getDesc();
        result = result * 59 + ($desc == null ? 43 : $desc.hashCode());
        result = result * 59 + Arrays.deepHashCode(this.getVals());
        return result;
    }

    public String toString() {
        return "HisDataResult(name=" + this.getName() + ", desc=" + this.getDesc() + ", vals=" + Arrays.deepToString(this.getVals()) + ")";
    }
}
